"""
__author__ = 'heyanmin'
__time__ = '2021/8/8 7:23 下午'
"""
import  json
dict = {"ces":"2"}
str = '{"cd":2}'
print(type(dict))
# 字典转换字符串
json_str = json.dumps(dict)
json_dict = json.loads(str)
print(type(json_str))
print(json_str)
print(json_dict)